package com.quickcancellation.crm.service.impl;

import com.quickcancellation.crm.pojo.dto.PageDto;
import com.quickcancellation.crm.pojo.entity.Agent;
import com.quickcancellation.crm.mapper.AgentMapper;
import com.quickcancellation.crm.service.IAgentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2023-02-28
 */
@Service
public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements IAgentService {

    @Resource
    private AgentMapper agentMapper;
    @Override
    public List<Map> getagentList(PageDto<Map> pageDto) {
        return agentMapper.getagentList(pageDto);
    }
}
